package com.tju.resource.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tju.resource.model.TbOutward;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface TbOutwardMapper extends BaseMapper<TbOutward> {
    IPage<TbOutward> getAll(Page<TbOutward> page, @Param("pa") Map<String, String> parameter);

    /*检索数据*/
    List<TbOutward> retrieveData();

    /**
     * 根据id查询工艺
     * @return
     */
    List<TbOutward> outwardById(Long Id);
}